<input type="text" name="{$field['name']}" class="form-control datepicker" id="input_{$field['name']}" value="{$field['value']}" placeholder="дд.мм.гггг" pattern="{literal}\d{1,2}\.\d{1,2}\.\d{4}{/literal}">